package top.lt.lt_ssm.bean;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class prosto {

	public prosto() {
	}

	public prosto(Integer pid, String pname, Double price, String factoryMerchants, Date updateTime, String updateNum,
			Integer number) {
		this.pid = pid;
		this.pname = pname;
		this.price = price;
		this.factoryMerchants = factoryMerchants;
		this.updateTime = updateTime;
		this.updateNum = updateNum;
		this.number = number;
	}

	private Integer pid;

	private String pname;

	private Double price;

	private String factoryMerchants;

	private Date updateTime;

	private String updateNum;

	private Integer number;

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getFactoryMerchants() {
		return factoryMerchants;
	}

	public void setFactoryMerchants(String factoryMerchants) {
		this.factoryMerchants = factoryMerchants;
	}

	 @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	public Date getUpdateTime() {
		return updateTime;
	}

	 @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateNum() {
		return updateNum;
	}

	public void setUpdateNum(String updateNum) {
		this.updateNum = updateNum;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

}
